package cn.gson.crm.model.mapper;

import cn.gson.crm.model.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

	User findByEmpId(Long id);

	User findByAccount(String account);

	User findByStudentId(Long id);
	/**
	 * 查询所有未被删除的用户
	 * @param user
	 */

	public List<User> getAllUsers(User user);
	/**
	 * 删除用户
	 */
	public void deleteUser(Long id);


}
